/** 装饰器router class */
import { Context } from 'koa'
export type RouterController<T extends string> = {
  [key in T]: (ctx: Context) => Promise<void>
}
export type MethodName =
  | 'getName'
  | 'postName'
  | 'deleteName'
  | 'changePassword'
  | 'getUserInfoById'
